package com.link510.aitools.core.domain;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 动作
 *
 * @author cqnews
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActionInfo implements Serializable {

    private static final long serialVersionUID = 6330051213071945933L;
    /**
     * 类型
     */
    private int type = 0;

    /**
     * 动作
     */
    private String action = "";

    /**
     * 标题
     */
    private int title = 0;

    /**
     * 副标题
     */
    private String subTitle = "";

    /**
     * 图标
     */
    private int icon = 0;

    public ActionInfo(String action, int title) {
        this.action = action;
        this.title = title;
    }

    public ActionInfo(String action, int title, int icon) {
        this.action = action;
        this.title = title;
        this.icon = icon;
    }

    public ActionInfo(int type, String action, int title, String subTitle) {
        this.type = type;
        this.action = action;
        this.title = title;
        this.subTitle = subTitle;
    }


}
